package jp.co.brilliantservice.felicasample;

import jp.co.brilliantservice.felicasample.ferica.FelicaActivity;
import android.os.Bundle;
import android.view.MotionEvent;

public class FelicaSampleActivity extends FelicaActivity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }

    @Override
    public boolean onTouchEvent(MotionEvent event) {
        if (MotionEvent.ACTION_DOWN == event.getAction()) {
            push();
        }
        return super.onTouchEvent(event);
    }
}